package com.zlzxm.shoesmarket.view.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.zlzxm.shoesmarket.R;
import com.zlzxm.shoesmarket.view.adapter.entity.EntityInNote;
import com.zlzxm.shoesmarket.view.adapter.entity.EntityOutNote;

import org.jetbrains.annotations.NotNull;

/**
 * Created by zlz
 * on  4/18/21
 */
public class ADOutNote extends BaseQuickAdapter<EntityOutNote, BaseViewHolder> {


    public ADOutNote() {
        super(R.layout.item_out_note);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, EntityOutNote entity) {


        holder.setText(R.id.tvTime,entity.getTime());
        holder.setText(R.id.tvSize,entity.getSize());
        holder.setText(R.id.tvNum,entity.getNum());
        holder.setText(R.id.tvPrice,entity.getPrice());
        holder.setText(R.id.tvProfit,entity.getProfit());

    }
}
